.md-card-list {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  .md-card-list-item {
    width: 224px;
    box-sizing: border-box;
    border-radius: 4px;
    background-color: #fff;
    margin-right: 20px;
    margin-bottom: 20px;
    padding-bottom: 13px;
    cursor: pointer;
    overflow: hidden;

    &.md-card-list-item-cols-four {
      &:nth-child(4n) {
        margin-right: 0px;
      }
    }

    &.md-card-list-item-cols-five {
      &:nth-child(5n) {
        margin-right: 0px;
      }
    }

    .pic {
      width: 100%;
      height: 139px;
      overflow: hidden;
      box-sizing: border-box;

      img {
        display: block;
        width: 100%;
        object-fit: cover;
      }
    }

    /* 课程中心 */
    &.md-card-list-item-mode-one {
      .title {
        width: 100%;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        margin-top: 19px;
        padding: 0px 10px;
        font-size: 16px;
        color: #1d2129;
      }

      .desc {
        width: 100%;
        box-sizing: border-box;
        margin-top: 12px;
        padding: 0px 10px;
        font-size: 14px;
        color: #4e5969;
        display: flex;
        align-items: center;

        span {
          &:first-child {
            flex: 1;
          }

          &:last-child {
            text-align: right;
            padding-left: 40px;
          }
        }
      }
    }

    &.md-card-list-item-mode-two {
      .pic {
        width: 100%;
        box-sizing: border-box;
        padding: 10px 10px 0px 10px;
        border-radius: 4px;
        overflow: hidden;

        img {
          display: block;
          width: 100%;
        }
      }

      .title {
        width: 100%;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        margin-top: 19px;
        padding: 0px 10px;
        font-size: 16px;
        color: #1d2129;
      }

      .desc {
        width: 100%;
        box-sizing: border-box;
        margin-top: 12px;
        padding: 0px 10px;
        font-size: 14px;
        color: #4e5969;
        display: flex;
        align-items: center;

        span {
          &:first-child {
            flex: 1;
          }

          &:last-child {
            text-align: right;
            padding-left: 40px;
          }
        }
      }

      .time {
        width: 100%;
        box-sizing: border-box;
        font-size: 14px;
        color: #4e5969;
        margin-top: 8px;
        padding: 0px 10px;
      }
    }

    &.md-card-list-item-mode-three {
      .title {
        width: 100%;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        margin-top: 19px;
        padding: 0px 10px;
        font-size: 16px;
        color: #1d2129;

        img {
          width: 22px;
          height: 22px;
          margin-right: 4px;
        }
      }

      .time {
        width: 100%;
        box-sizing: border-box;
        font-size: 14px;
        color: #4e5969;
        margin-top: 8px;
        padding: 0px 10px;
      }
    }
  }
}